//
// Created by Administrator on 2021/2/23 0023.
//

#ifndef MY_APPLICATION_COLOR_H
#define MY_APPLICATION_COLOR_H

#pragma

typedef uint32_t Color8888;

static const Color8888 COLOR_8888_ALPHA_MASK = 0xff000000; // TODO: handle endianness
static const Color8888 TRANSPARENT = 0x0;// TODO: handle endianness
#define ARGB_TO_COLOR8888(a, r, g, b) \
   ((a) << 24 | (b) << 16 | (g) << 8 | (r))

#endif //MY_APPLICATION_COLOR_H
